SftTree/OCX 7.0

SftTreeRowColumnHeader.WidthPix Property

Softel vdm, Inc.

Defines the width of the row header (and row/column header, row/column footer) area.

Syntax       

Get

VB.NET

WPix = object.WidthPix  As Integer

VB

WPix = object.WidthPix  As Long

C#.NET

int WPix = object.WidthPix;

VC++

long WPix = object->WidthPix;
long WPix = object->GetWidthPix();

C

HRESULT object->get_WidthPix(long* WPix);

Delphi

WPix := object.WidthPix   : Integer;

Put

VB.NET

object.WidthPix = WPix  As Integer

VB

object.WidthPix = WPix  As Long

C#.NET

int object.WidthPix = WPix;

VC++

long object->WidthPix = WPix;
void object->PutWidthPix(long WPix);

C

HRESULT object->put_WidthPix(long WPix);

Delphi

object.WidthPix := WPix   : Integer;

object

A SftTreeRowColumnHeader object.

WPix

Defines the width of the row header (and row/column header, row/column footer) area in pixels.

Comments

The WidthPix property defines the width of the row header (and row/column header, row/column footer) area.

The RowColumnHeader.Width and RowColumnHeader.WidthPix properties are synonyms, but may use different coordinate systems.

The WidthPix property is used to change the width of the row header, row/column header and row/column footer area.

The RowHeaders.OptimalWidth or RowHeaders.MakeOptimal methods can be used to calculate or define the optimal width for the row headers (and row/column headers, row/column footers).  An optimal width allows all text and graphic components in the row headers to be displayed in their entirety, without being clipped.

See Also  SftTreeRowColumnHeader Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com